package com.interfaces.module.article.controller;

import com.baomidou.mybatisplus.extension.service.IService;
import com.interfaces.module.article.domain.FtsArticle;
import com.interfaces.module.article.service.ArticleService;
import com.interfaces.module.common.controller.CommonController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/article")
public class ArticleController extends CommonController<FtsArticle> {
    @Autowired
    private ArticleService articleService;
    @Override
    protected IService<FtsArticle> getCoreService() {
        return this.articleService;
    }
}
